﻿
namespace Jayden.Dll.Core.Persistence
{
	public class ObjectId : Key
	{
		public ObjectId(ObjectType type, params object[] values)
			: base(type, values) { }
		public ObjectId(ObjectType type, long id)
			: base(type, new object[] { id }) { }

		public override bool Equals(object obj)
		{
			if (!(obj is ObjectId))
				return false;
			return base.Equals(obj);
		}

		public override int GetHashCode() { return base.GetHashCode(); }
	}
}
